package Service.impl;

import Mapper.ClientMapper;
import Pojo.Client;
import Service.ClientService;
import Util.BaseMapper;

public class ClientServiceImpl implements ClientService {
    private ClientMapper clientMapper=BaseMapper.getSqlSession().getMapper(ClientMapper.class);
    @Override
    public Client ClientQueryByPandC(String cphone, String cidcard) {
        return clientMapper.ClientQueryByPandC(cphone,cidcard);
    }

    @Override
    public Integer ClientAddOne(Client client1) {
        return clientMapper.ClientAddOne(client1);
    }
}
